//统计分析
import { request } from "@/utils/request"


//获取招生数据
export function getEnrollmentAPI(){
    return request({
        url:'/admin/getEnrollment',
        method:'GET'
    })
}

//获取模拟考试数据
export function getMockExamDataAPI(subject){
    return request({
        url:`/admin/getMockExamData/${subject}`,
        // url:'/admin/getMockExamData',
        method:'GET'
    })
}

//获取模拟考试数据
export function getExamDataAPI(subject){
    return request({
        url:`/admin/getExamData/${subject}`,
        // url:'/admin/getExamData',
        method:'GET'
    })
}

//获取教练评论数据
export function getCoachDataAPI(){
    return request({
        url:'/admin/getCoachDataAPI',
        method:'GET'
    })
}